package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 出勤 evection
 *
 * @author ruoyi
 * @date 2023-10-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Evection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 出差员工id */
    @Excel(name = "出差员工id")
    private String eno;

    private String name;

    /** 出差开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出差开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 出差结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出差结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 出差目的地 */
    @Excel(name = "出差目的地")
    private String target;

    /** 出差目的 */
    @Excel(name = "出差目的")
    private String objective;

    /** 申请状态 */
    @Excel(name = "申请状态")
    private Long status;

    /** 审批人 */
    @Excel(name = "审批人")
    private String approver;

    /** 出差预计费用 */
    @Excel(name = "出差预计费用")
    private BigDecimal cost;
}
